package com.zhengshang.api.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zhengshang.common.annotation.Excel;
import com.zhengshang.common.core.domain.BaseEntity;

/**
 * APP端banner图对象 app_banner
 * 
 * @author zhengshang
 * @date 2022-04-21
 */
public class AppBanner extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 轮播图ID */
    private Long bannerId;

    /** 标题 */
    @Excel(name = "标题")
    private String bannerTitle;

    /** 排序 */
    @Excel(name = "排序")
    private Long bannerSort;

    /** 图片url */
    @Excel(name = "图片url")
    private String imgUrl;

    /** banner类型(1首页，2个人中心，3商品) */
    @Excel(name = "banner类型(1首页，2个人中心，3商品)")
    private String bannerType;

    /** 商品分类(banner_type为3时使用) */
    @Excel(name = "商品分类(banner_type为3时使用)")
    private String goodsType;

    /** 启用禁用 */
    @Excel(name = "启用禁用")
    private String bannerStatus;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 跳转类型 */
    @Excel(name = "跳转类型")
    private String jumpType;

    /** 跳转链接 */
    @Excel(name = "跳转链接")
    private String bannerHref;

    /** 内部模块code */
    @Excel(name = "内部模块code")
    private String bannerCode;

    public void setBannerId(Long bannerId) 
    {
        this.bannerId = bannerId;
    }

    public Long getBannerId() 
    {
        return bannerId;
    }
    public void setBannerTitle(String bannerTitle) 
    {
        this.bannerTitle = bannerTitle;
    }

    public String getBannerTitle() 
    {
        return bannerTitle;
    }
    public void setBannerSort(Long bannerSort) 
    {
        this.bannerSort = bannerSort;
    }

    public Long getBannerSort() 
    {
        return bannerSort;
    }
    public void setImgUrl(String imgUrl) 
    {
        this.imgUrl = imgUrl;
    }

    public String getImgUrl() 
    {
        return imgUrl;
    }
    public void setBannerType(String bannerType) 
    {
        this.bannerType = bannerType;
    }

    public String getBannerType() 
    {
        return bannerType;
    }
    public void setGoodsType(String goodsType) 
    {
        this.goodsType = goodsType;
    }

    public String getGoodsType() 
    {
        return goodsType;
    }
    public void setBannerStatus(String bannerStatus) 
    {
        this.bannerStatus = bannerStatus;
    }

    public String getBannerStatus() 
    {
        return bannerStatus;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setJumpType(String jumpType) 
    {
        this.jumpType = jumpType;
    }

    public String getJumpType() 
    {
        return jumpType;
    }
    public void setBannerHref(String bannerHref) 
    {
        this.bannerHref = bannerHref;
    }

    public String getBannerHref() 
    {
        return bannerHref;
    }
    public void setBannerCode(String bannerCode) 
    {
        this.bannerCode = bannerCode;
    }

    public String getBannerCode() 
    {
        return bannerCode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("bannerId", getBannerId())
            .append("bannerTitle", getBannerTitle())
            .append("bannerSort", getBannerSort())
            .append("imgUrl", getImgUrl())
            .append("bannerType", getBannerType())
            .append("goodsType", getGoodsType())
            .append("bannerStatus", getBannerStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("jumpType", getJumpType())
            .append("updateBy", getUpdateBy())
            .append("bannerHref", getBannerHref())
            .append("updateTime", getUpdateTime())
            .append("bannerCode", getBannerCode())
            .append("remark", getRemark())
            .toString();
    }
}
